package hcn.protocol.ods.report;

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlValue;
import java.io.Serializable;

/**
 * Created by jinxin on 2016/5/18.
 */
public class InnerBean implements Serializable{
    private static final long serialVersionUID = -5052584764533061289L;

    private String text;
    private String localCode;
    private String localText;
    private String displayName;

    public InnerBean() {
    }

    public InnerBean(String localCode) {
        this.localCode = localCode;
    }

    public InnerBean(String text, String localCode, String localText) {
        this.text = text;
        this.localCode = localCode;
        this.localText = localText;
    }

    public InnerBean(String localCode,String displayName){
        this.localCode = localCode;
        this.displayName = displayName;
    }

    @XmlAttribute
    public String getLocalCode() {
        return localCode;
    }

    public void setLocalCode(String localCode) {
        this.localCode = localCode;
    }

    @XmlAttribute
    public String getLocalText() {
        return localText;
    }

    public void setLocalText(String localText) {
        this.localText = localText;
    }

    @XmlAttribute
    public String getDisplayName() {
        return displayName;
    }

    public void setDisplayName(String displayName) {
        this.displayName = displayName;
    }

    @XmlValue
    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }
}
